﻿<%@ Page Language="C#" AutoEventWireup="true" CodeFile="Earning6.aspx.cs" Inherits="FinanceCenter_Earning6" %>

<%@ Register TagPrefix="ShoveWebUI" Namespace="Shove.Web.UI" Assembly="Shove.Web.UI.4 For.NET 2.0" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head id="Head1" runat="server">
    <title>销售分红奖列表</title>
    <link href="../Style/css.css" rel="stylesheet" type="text/css" />
    <link href="../Style/main.css" rel="stylesheet" type="text/css" />
    
    <script src="../Components/My97DatePicker/WdatePicker.js" type="text/javascript"></script>
    
</head>
<body style="margin-left: 0; margin-top: 0; margin-right: 0; margin-bottom: 0;">
    <form id="form1" runat="server">
    <center>
        <table id="Table1" cellspacing="0" cellpadding="0" width="99%" border="0" align="center">
            <tr>
                <td>
                    <strong><span style="font-size: 12pt; color: #0099cc; text-align: center;">
                        <br />
                        月结销售分红奖<br />
                    </span></strong>
                    <br />
                </td>
            </tr>
            <tr>
                <td align="right">
                    
                    <input id="tbDate" name="tbDate" runat="server" onclick="WdatePicker()" />
                    
                    <asp:Button ID="btnGO" runat="server" Width="60px" Text="查询" OnClick="btnGO_Click">
                    </asp:Button>
             
                </td>
            </tr>
            <tr>
                <td align="center" colspan="3">
                    <asp:DataGrid ID="g" runat="server" BackColor="#6CA4E4" CellPadding="5" Width="100%"
                        CellSpacing="1" BorderWidth="0px" AllowSorting="True" AutoGenerateColumns="False"
                        AllowPaging="True" CssClass="gStyle" OnItemDataBound="g_ItemDataBound" OnItemCommand="g_ItemCommand">
                        <FooterStyle HorizontalAlign="Center" ForeColor="#330099" BackColor="#FFFFCC"></FooterStyle>
                        <SelectedItemStyle HorizontalAlign="Center" Font-Bold="True" ForeColor="White"></SelectedItemStyle>
                        <HeaderStyle HorizontalAlign="Center" ForeColor="Navy" VerticalAlign="Middle" CssClass="gHeader">
                        </HeaderStyle>
                        <ItemStyle CssClass="gItem" BackColor="White" />
                        <Columns>
                            <asp:BoundColumn DataField="CustomerNo" HeaderText="用户名"></asp:BoundColumn>
                            <asp:BoundColumn DataField="CustomerName" HeaderText="真实姓名"></asp:BoundColumn>
                            <asp:BoundColumn DataField="DateTime" HeaderText="月份"></asp:BoundColumn>
                            <asp:BoundColumn DataField="PV" HeaderText="市场总业绩(PV)"></asp:BoundColumn>
                            <asp:BoundColumn DataField="Bouns" HeaderText="销售分红奖金"></asp:BoundColumn>
                            <asp:BoundColumn DataField="" SortExpression="" HeaderText="是否已结"></asp:BoundColumn>
                            <asp:TemplateColumn HeaderText="操作">
                                <ItemTemplate>
                                    <ShoveWebUI:ShoveConfirmButton ID="btnDistill" runat="server" BorderStyle="Solid"
                                        Width="60px" BorderWidth="1px" Enabled="false" Text="立即结算" Height="20px" CommandName="Distill">
                                    </ShoveWebUI:ShoveConfirmButton>
                                </ItemTemplate>
                            </asp:TemplateColumn>
                            <asp:BoundColumn Visible="False" DataField="id"></asp:BoundColumn>
                            <asp:BoundColumn Visible="False" DataField="isDistill"></asp:BoundColumn>
                        </Columns>
                        <PagerStyle Visible="False" HorizontalAlign="Center" ForeColor="#330099" BackColor="#FFFFCC">
                        </PagerStyle>
                    </asp:DataGrid>
                    <ShoveWebUI:ShoveGridPager ID="gPager" BorderWidth="0" CssClass="gStyle" BorderStyle="None"
                        runat="server" Width="100%" ShowSelectColumn="False" DataGrid="g" OnPageWillChange="gPager_PageWillChange"
                        OnSortBefore="gPager_SortBefore" AlternatingRowColor="White" HotColor="White"
                        GuiseColor="False" ClientNavigation="true" PageSize="10" Height="16px" />
                    <asp:Button ID="btnAllDistlll" runat="server" Enabled="false" Text="全部结算" Width="90px"
                        OnClick="btnAllDistlll_Click" />
                    <font color="red">每月最后一天手动结算</font>
                    <br>
                </td>
            </tr>
        </table>
    </center>
    </form>
</body>
</html>
